package java50practice;

public class java20 {
	public static void main(String[] args) {
		double z=2;
		double m=1;
		double countzm=z+m;
		double count=z/m;
		for(int i=0;i<19;i++){
			m=z;
			z=countzm;
			countzm=z+m;
			count+=z/m;
		}
		System.out.println(count);
	}
}
